package com.cyx.spring.jdbc.rowmapper;

import java.sql.ResultSet;

/**
 * StringMapper
 *
 * @author yongxiang
 * @date 2024/10/25 9:33
 * @desc
 */
public class StringMapper implements RowMapper<String>{

    @Override
    public String mapRow(ResultSet rs) throws Exception {
        return rs.getString(1);
    }
}
